package com.dianban.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.util.Date;

public class User {

    private Long id;
    private String mobile;       //手机号
    private String password;    //登录密码
    private String salt;//密码盐
    private String nickname;    //昵称
    private BigDecimal coupon;  //购物券
    private BigDecimal energy; //能量宝
    private BigDecimal money;  //余额
    private BigDecimal goldBean;  // 金豆
    private Long pid; //上级ID
    private Long higherId; //上上级ID
    private Integer isVip;
    private String loginip;//登录IP
    private Long updatetime;    //更新时间
    private BigDecimal facePayCommission; // 线下刷脸设备门店核销产生的佣金余额

    private Integer isStoreGuide = 0;
    private Long storeGuideId;


    private String userToken;
    private String invitecode;
    private String avatar;

    private String showAccountAuth;
    private String openid;
    private String hasSign;
    private String showAccountAuthSlj;
    private String storeIds;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public BigDecimal getCoupon() {
        return coupon;
    }

    public void setCoupon(BigDecimal coupon) {
        this.coupon = coupon;
    }

    public BigDecimal getEnergy() {
        return energy;
    }

    public void setEnergy(BigDecimal energy) {
        this.energy = energy;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }


    public BigDecimal getGoldBean() {
        return goldBean;
    }

    public void setGoldBean(BigDecimal goldBean) {
        this.goldBean = goldBean;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Long getHigherId() {
        return higherId;
    }

    public void setHigherId(Long higherId) {
        this.higherId = higherId;
    }

    public Integer getIsVip() {
        return isVip;
    }

    public void setIsVip(Integer isVip) {
        this.isVip = isVip;
    }

    public String getLoginip() {
        return loginip;
    }

    public void setLoginip(String loginip) {
        this.loginip = loginip;
    }

    public Long getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Long updatetime) {
        this.updatetime = updatetime;
    }

    public String getUserToken() {
        return userToken;
    }

    public void setUserToken(String userToken) {
        this.userToken = userToken;
    }

    public BigDecimal getFacePayCommission() {
        return facePayCommission;
    }

    public void setFacePayCommission(BigDecimal facePayCommission) {
        this.facePayCommission = facePayCommission;
    }

    public Integer getIsStoreGuide() {
        return isStoreGuide;
    }

    public void setIsStoreGuide(Integer isStoreGuide) {
        this.isStoreGuide = isStoreGuide;
    }

    public Long getStoreGuideId() {
        return storeGuideId;
    }

    public void setStoreGuideId(Long storeGuideId) {
        this.storeGuideId = storeGuideId;
    }

    public String getInvitecode() {
        return invitecode;
    }

    public void setInvitecode(String invitecode) {
        this.invitecode = invitecode;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getShowAccountAuth() {
        return showAccountAuth;
    }

    public void setShowAccountAuth(String showAccountAuth) {
        this.showAccountAuth = showAccountAuth;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getHasSign() {
        return hasSign;
    }

    public void setHasSign(String hasSign) {
        this.hasSign = hasSign;
    }

    public String getShowAccountAuthSlj() {
        return showAccountAuthSlj;
    }

    public void setShowAccountAuthSlj(String showAccountAuthSlj) {
        this.showAccountAuthSlj = showAccountAuthSlj;
    }

    public String getStoreIds() {
        return storeIds;
    }

    public void setStoreIds(String storeIds) {
        this.storeIds = storeIds;
    }
}
